PolicyCenter Common API (1.11.0)
APIs for common InsuranceSuite platform objects like activities and notes
Complete an Activity
Marks an Activity
as completed, setting the status
to complete
and updating the closeDate
and closeUser
. Only allowed if the Activity
has a status
of open
, has been assigned to a specific User
, and has an activityType
of general
or approvaldenied
.
Authorizations:
path Parameters
activityId required | string The |
query Parameters
fields | Array of strings gw-allowForCompositeApi: true Allows the caller to specify the set of fields that should be included on the response. This can be used to limit the set of fields returned as well as to include optional fields that otherwise wouldn't normally be returned. The parameter is either of the form |
Request Body schema: application/json
A request body can be sent in order to use the included
feature of the request envelope to update or create additional elements when completing the Activity
, such as attaching a Note
to include details of what was done.
object (ActivityRequestInclusions) |
Responses
Request samples
- Payload
{- "included": {
- "Note": [
- {
- "attributes": {
- "account": {
- "displayName": "string",
- "id": "string",
- "refid": "string",
- "type": "string",
- "uri": "string"
}, - "author": {
- "displayName": "string",
- "id": "string",
- "refid": "string",
- "type": "string",
- "uri": "string"
}, - "body": "string",
- "confidential": true,
- "contingency": {
- "displayName": "string",
- "id": "string",
- "refid": "string",
- "type": "string",
- "uri": "string"
}, - "job": {
- "displayName": "string",
- "id": "string",
- "refid": "string",
- "type": "string",
- "uri": "string"
}, - "policy": {
- "displayName": "string",
- "id": "string",
- "refid": "string",
- "type": "string",
- "uri": "string"
}, - "securityType": {
- "code": "string",
- "name": "string"
}, - "subject": "string",
- "topic": {
- "code": "string",
- "name": "string"
}
}, - "checksum": "string",
- "id": "string",
- "links": {
- "property1": {
- "href": "string",
- "methods": [
- "string"
]
}, - "property2": {
- "href": "string",
- "methods": [
- "string"
]
}
}, - "method": "string",
- "refid": "string",
- "related": {
- "property1": {
- "count": 0,
- "data": [
- {
- "displayName": "string",
- "id": "string",
- "refid": "string",
- "type": "string",
- "uri": "string"
}
], - "total": 0
}, - "property2": {
- "count": 0,
- "data": [
- {
- "displayName": "string",
- "id": "string",
- "refid": "string",
- "type": "string",
- "uri": "string"
}
], - "total": 0
}
}, - "uri": "string"
}
]
}
}
Response samples
- 200
{- "data": {
- "attributes": {
- "account": {
- "displayName": "string",
- "id": "string",
- "jsonPath": "string",
- "refid": "string",
- "type": "string",
- "uri": "string"
}, - "accountContact": {
- "displayName": "string",
- "id": "string",
- "jsonPath": "string",
- "refid": "string",
- "type": "string",
- "uri": "string"
}, - "activityPattern": "string",
- "activityType": {
- "code": "string",
- "name": "string"
}, - "approvalIssue": "string",
- "approvalRationale": "string",
- "approved": true,
- "assignedByUser": {
- "displayName": "string",
- "id": "string",
- "jsonPath": "string",
- "refid": "string",
- "type": "string",
- "uri": "string"
}, - "assignedGroup": {
- "displayName": "string",
- "id": "string",
- "jsonPath": "string",
- "refid": "string",
- "type": "string",
- "uri": "string"
}, - "assignedQueue": {
- "displayName": "string",
- "id": "string",
- "jsonPath": "string",
- "refid": "string",
- "type": "string",
- "uri": "string"
}, - "assignedUser": {
- "displayName": "string",
- "id": "string",
- "jsonPath": "string",
- "refid": "string",
- "type": "string",
- "uri": "string"
}, - "assignmentStatus": {
- "code": "string",
- "name": "string"
}, - "associatedRole": {
- "code": "string",
- "name": "string"
}, - "closeDate": "2019-08-24T14:15:22Z",
- "closeUser": {
- "displayName": "string",
- "id": "string",
- "jsonPath": "string",
- "refid": "string",
- "type": "string",
- "uri": "string"
}, - "contact": {
- "displayName": "string",
- "id": "string",
- "jsonPath": "string",
- "refid": "string",
- "type": "string",
- "uri": "string"
}, - "contingency": {
- "displayName": "string",
- "id": "string",
- "jsonPath": "string",
- "refid": "string",
- "type": "string",
- "uri": "string"
}, - "createTime": "2019-08-24T14:15:22Z",
- "description": "string",
- "dueDate": "2019-08-24T14:15:22Z",
- "endDate": "2019-08-24T14:15:22Z",
- "escalated": true,
- "escalationDate": "2019-08-24T14:15:22Z",
- "externallyOwned": true,
- "id": "string",
- "initialAssignment": {
- "assigneeId": "string",
- "autoAssign": true,
- "groupId": "string",
- "name": "string",
- "queueId": "string",
- "role": {
- "code": "string",
- "name": "string"
}, - "userId": "string"
}, - "job": {
- "displayName": "string",
- "id": "string",
- "jsonPath": "string",
- "refid": "string",
- "type": "string",
- "uri": "string"
}, - "mandatory": true,
- "policy": {
- "displayName": "string",
- "id": "string",
- "jsonPath": "string",
- "refid": "string",
- "type": "string",
- "uri": "string"
}, - "priority": {
- "code": "string",
- "name": "string"
}, - "recurring": true,
- "startDate": "2019-08-24T14:15:22Z",
- "status": {
- "code": "string",
- "name": "string"
}, - "subject": "string"
}, - "checksum": "string",
- "id": "string",
- "links": {
- "property1": {
- "href": "string",
- "methods": [
- "string"
]
}, - "property2": {
- "href": "string",
- "methods": [
- "string"
]
}
}, - "method": "string",
- "refid": "string",
- "related": {
- "property1": {
- "count": 0,
- "data": [
- {
- "displayName": "string",
- "id": "string",
- "jsonPath": "string",
- "refid": "string",
- "type": "string",
- "uri": "string"
}
], - "total": 0
}, - "property2": {
- "count": 0,
- "data": [
- {
- "displayName": "string",
- "id": "string",
- "jsonPath": "string",
- "refid": "string",
- "type": "string",
- "uri": "string"
}
], - "total": 0
}
}, - "type": "string",
- "uri": "string"
}, - "included": {
- "Assignee": [
- {
- "attributes": {
- "assigneeId": "string",
- "autoAssign": true,
- "groupId": "string",
- "name": "string",
- "queueId": "string",
- "role": {
- "code": "string",
- "name": "string"
}, - "userId": "string"
}, - "checksum": "string",
- "id": "string",
- "links": {
- "property1": {
- "href": "string",
- "methods": [
- "string"
]
}, - "property2": {
- "href": "string",
- "methods": [
- "string"
]
}
}, - "method": "string",
- "refid": "string",
- "related": {
- "property1": {
- "count": 0,
- "data": [
- {
- "displayName": "string",
- "id": "string",
- "jsonPath": "string",
- "refid": "string",
- "type": "string",
- "uri": "string"
}
], - "total": 0
}, - "property2": {
- "count": 0,
- "data": [
- {
- "displayName": "string",
- "id": "string",
- "jsonPath": "string",
- "refid": "string",
- "type": "string",
- "uri": "string"
}
], - "total": 0
}
}, - "type": "string",
- "uri": "string"
}
], - "Note": [
- {
- "attributes": {
- "account": {
- "displayName": "string",
- "id": "string",
- "jsonPath": "string",
- "refid": "string",
- "type": "string",
- "uri": "string"
}, - "author": {
- "displayName": "string",
- "id": "string",
- "jsonPath": "string",
- "refid": "string",
- "type": "string",
- "uri": "string"
}, - "body": "string",
- "bodySummary": "string",
- "confidential": true,
- "contingency": {
- "displayName": "string",
- "id": "string",
- "jsonPath": "string",
- "refid": "string",
- "type": "string",
- "uri": "string"
}, - "createdDate": "2019-08-24T14:15:22Z",
- "id": "string",
- "job": {
- "displayName": "string",
- "id": "string",
- "jsonPath": "string",
- "refid": "string",
- "type": "string",
- "uri": "string"
}, - "policy": {
- "displayName": "string",
- "id": "string",
- "jsonPath": "string",
- "refid": "string",
- "type": "string",
- "uri": "string"
}, - "securityType": {
- "code": "string",
- "name": "string"
}, - "subject": "string",
- "topic": {
- "code": "string",
- "name": "string"
}, - "updateTime": "2019-08-24T14:15:22Z"
}, - "checksum": "string",
- "id": "string",
- "links": {
- "property1": {
- "href": "string",
- "methods": [
- "string"
]
}, - "property2": {
- "href": "string",
- "methods": [
- "string"
]
}
}, - "method": "string",
- "refid": "string",
- "related": {
- "property1": {
- "count": 0,
- "data": [
- {
- "displayName": "string",
- "id": "string",
- "jsonPath": "string",
- "refid": "string",
- "type": "string",
- "uri": "string"
}
], - "total": 0
}, - "property2": {
- "count": 0,
- "data": [
- {
- "displayName": "string",
- "id": "string",
- "jsonPath": "string",
- "refid": "string",
- "type": "string",
- "uri": "string"
}
], - "total": 0
}
}, - "type": "string",
- "uri": "string"
}
]
}
}
Was this page helpful?